import { defineStore } from 'pinia'
import dayjs from 'dayjs'

export default defineStore('medical-record-home', {
  state: () => {
    return {
      formState: {
        bazt: '0',
        dabz: '',
        zjm: '',
        enterDateRange: [],
        outDateRange: [dayjs().format('YYYY-MM-DD'), dayjs().format('YYYY-MM-DD')],
        icd10Name: ''
      }
    }
  }
})
